/**
 * 
 */
package com.bolbachchan.blog.dto;

import com.bolbachchan.blog.hibernate.domain.UserDetails;

/**
 * @author Chaitanya
 * 
 */
public class PostDTO extends BaseDTO {

    /**
     * 
     */
    private static final long serialVersionUID = 3299032876964473369L;

    private int userObjId;
    private UserDetails userDetails;
    private String postTitle;
    private String postContent;

    /**
     * @return the userObjId
     */
    public int getUserObjId() {
	return userObjId;
    }

    /**
     * @param userObjId
     *            the userObjId to set
     */
    public void setUserObjId(int userObjId) {
	this.userObjId = userObjId;
    }

    /**
     * @return the user
     */
    public UserDetails getUserDetails() {
	return userDetails;
    }

    /**
     * @param user
     *            the user to set
     */
    public void setUserDetails(UserDetails user) {
	this.userDetails = user;
    }

    /**
     * @return the postTitle
     */
    public String getPostTitle() {
	return postTitle;
    }

    /**
     * @param postTitle
     *            the postTitle to set
     */
    public void setPostTitle(String postTitle) {
	this.postTitle = postTitle;
    }

    /**
     * @return the postContent
     */
    public String getPostContent() {
	return postContent;
    }

    /**
     * @param postContent
     *            the postContent to set
     */
    public void setPostContent(String postContent) {
	this.postContent = postContent;
    }
}
